//首页接口
import {request} from '../utils/request.js'

export const postContribute = (data) => request({
	url: `user/login`,
	method: 'POST',
	data,
	isJson: true
})

export const getUser = () => request({
	url: `index/index`,
	method: 'GET',
	isJson: true
})